package com.briskemen.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;

public class AddNumberService extends Service {
    public AddNumberService() {
    }

    @Override
    public IBinder onBind(Intent intent) {
        return mStub;
    }

    private AddNumber.Stub mStub = new AddNumber.Stub() {
        @Override
        public int add(int a, int b) throws RemoteException {
            return a+b;
        }
    };
}
